<div class="coluna tamanho12">
	<h3>Pagamentos</h3>
</div>

<table width="100%">
    <tr>
        <th>Nome</th>
        <th>E-mail</th>
        <th>Telefone</th>
        <th>Status</th>
        <th></th>
    </tr>
    <?php if ( !count($this->paginator) > 0) : ?>
    <tr align="center"><td colspan="7">NENHUM REGISTRO</td></tr>
    <?php endif; ?>
    <?php foreach($this->paginator as $cliente) : ?>
    <tr>
        <td><?php echo $cliente->nome; ?></td>
        <td><?php echo $cliente->email; ?></td>
        <td><?php echo $cliente->telefone; ?></td>
        <td><?php echo ($cliente->ativo == 1)? "Ativo" : "Inativo"; ?></td>
        <td>
        	<a href="<?php echo $this->baseUrl();?>/cliente/edit/id_cliente/<?php echo $cliente->id_cliente?>">
        		<img title="Editar" alt="Editar" src="<?php echo $this->baseUrl()?>/assets/images/actions/edit.png" border="0">
        	</a>
        	&nbsp;
        	<a href="<?php echo $this->baseUrl();?>/cliente/show/id_cliente/<?php echo $cliente->id_cliente?>">
        		<img title="Visualizar" alt="visualizar" src="<?php echo $this->baseUrl()?>/assets/images/actions/view.png" border="0">
        	</a>
        	&nbsp;
        	<a href="<?php echo $this->baseUrl();?>/cliente/show/id_cliente/<?php echo $cliente->id_cliente?>#tab_dominio">
        		<img title="Adicionar Dominio" alt="Adicionar Dominio" src="<?php echo $this->baseUrl()?>/assets/images/actions/link_add.png" border="0">
        	</a>
        </td>
    </tr>
    <?php endforeach; ?>
    <tr align="center">
    	<td colspan="7">
			<?php echo $this->paginator; ?>
    	</td>
    </tr>
</table>

<div class="actions">
    <div class="esquerda">
        <a href="javascript:history.back();" class="button" title="voltar">Voltar</a>
    </div>
    &nbsp;
    <div class="direita">
        <a href="<?php echo $this->baseURL() ?>/cliente/create" class="button" title="Cadastro">Cadastro</a>
    </div>
</div>